﻿@using System.Web.Mvc.Html
@inherits System.Web.Mvc.WebViewPage
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
    <link href="@Url.Content("~/Content/in-admin-panel/style.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/in-admin-panel/ddaccordion.js")"></script>
    <script type="text/javascript">
        ddaccordion.init({
            headerclass: "submenuheader", //Shared CSS class name of headers group
            contentclass: "submenu", //Shared CSS class name of contents group
            revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
            mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
            collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
            defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
            onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
            animatedefault: false, //Should contents open by default be animated into view?
            persiststate: true, //persist state of opened contents within browser session?
            toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
            togglehtml: ["suffix", "<img src='images/plus.gif' class='statusicon' />", "<img src='images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
            animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
            oninit: function (headers, expandedindices) { //custom code to run when headers have initalized
                //do nothing
            },
            onopenclose: function (header, index, state, isuseractivated) { //custom code to run whenever a header is opened or closed
                //do nothing
            }
        })
</script>
    <script src="@Url.Content("~/Scripts/in-admin-panel/jquery.jclock-1.2.0.js.txt")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/in-admin-panel/jconfirmaction.jquery.js")"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $('.ask').jConfirmAction();
        });

    </script>
    <script type="text/javascript">
        $(function ($) {
            $('.jclock').jclock();
        });
</script>
    <script language="javascript" type="text/javascript" src="@Url.Content("~/Scripts/in-admin-panel/niceforms.js")"></script>
    <link rel="stylesheet" type="text/css" media="all" href="@Url.Content("~/Content/in-admin-panel/niceforms-default.css")" />
</head>
<body>
    <div id="main_container">
        <div class="header">
            <div class="logo">
                <a href="#">
                    <img src="images/logo.gif" alt="" title="" border="0" /></a></div>
            <div class="right_header">
                @Html.Partial("_LogOnPartial")</div>
            <div class="jclock">
            </div>
        </div>
        <div class="main_content">
            <div class="menu">
                <ul>
                    @if ("admin".Equals(User.Identity.Name))
                    {
                        <li>@Html.ActionLink("Trang chủ", "Index", "Home")</li>
                        <li>@Html.ActionLink("Khách", "Index", "Customer")</li>
                        <li>@Html.ActionLink("Xe moto", "Index", "MotorBike")</li>
                        <li>@Html.ActionLink("Vé xe", "Index", "Ticket")</li>
                        <li>@Html.ActionLink("Thông tin", "About", "Home")</li>
                    }
                </ul>
            </div>
            <div class="center_content">
                <div class="left_content">
                    <div class="sidebarmenu">
                    </div>
                    <div class="sidebar_box">
                    </div>
                    <div class="sidebar_box">
                    </div>
                    <div class="sidebar_box">
                    </div>
                    <div class="sidebar_box">
                    </div>
                </div>
                <div class="right_content">
                    @RenderBody()
                </div>
                <!-- end of right content-->
            </div>
            <!--end of center content -->
            <div class="clear">
            </div>
        </div>
        <!--end of main content-->
        <div class="footer">
            <div class="left_footer">
            </div>
            <div class="right_footer">
            </div>
        </div>
    </div>
</body>
</html>